home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 April / EnigmA AMIGA RUN 06 (1996)(G.R. Edizioni)(IT)[!][issue 1996-04][Skylink CD V].iso / internet / others / removenewsgrp.lha / RemoveNewsGroup / RemoveNewsGroup.doc < prev    next >
Text File  |  1995-09-01  |  2KB  |  47 lines

  1. RemoveNewsGroup - v1.0 - by Jim McKinney - 31-Aug-95
  2.  
  3. Did ya ever subscribe to a newsgroup and then find out it really stinks? 
  4. Trying to get rid of that newsgroup can be a chore.  Deleting the
  5. sub-sub-sub directories and weeding it out of "Active", .newsrc, et al, is
  6. time-consuming and a real hassle.  Computers are supposed to do stuff like
  7. that by themselves so I set out to make it happen.  Here is the result.
  8. It's nothing fancy.  I found it quick and simple enough for ARexx to handle
  9. nicely.  It also makes it easy for you to modify to suit your needs and
  10. setup.  I hope someone gets some use out of this.
  11.  
  12. The assumptions made are:
  13.  
  14.         1. You are running AmiTCP - duh!
  15.         2. You are getting your news via NNTPXfer
  16.         3. Your news is kept in UUNews:
  17.         4. Your "Active" file is also in UUNews:
  18.         5. You are using "purge" from the "PostNewsSpool" package (by James
  19.            Burton) to delete old news
  20.         6. "PurgeFile" is in UUNews:
  21.         7. $HOME is AmiTCP: and that's where .newsrc is at
  22.         8. Your newsreader is tin
  23.  
  24. Most of the above can be easily changed to suit your setup.
  25.  
  26. There are only two files in this utility.  The ARexx program,
  27. RemoveNewsGroup.rexx, and the script that calls it, RemoveNewsGroup.  Put
  28. the script in your AmiTCP:bin directory and the ARexx program in
  29. AmiTCP:rexx.
  30.  
  31. The execution is very simple.  From a shell enter:
  32.  
  33.          "RemoveNewsGroup <news.group.name>"
  34.  
  35. and press return.  The offending newsgroup will be eradicated from your
  36. system.
  37.  
  38. RemoveNewsGroup intelligently deletes all those sub-directories caused by
  39. most newsgroups.  Then "Active", "PurgeFile", and ".newsrc" are read and
  40. the applicable newsgroup is filtered out of each file.
  41.  
  42. I've also included my modified "AddNewsGroup" script.  I customized it for
  43. my system and fixed a few "features".  :)
  44.  
  45. That's about it.  Comments, suggestions, and questions can be sent to me at
  46. "mckinnej@fwb.gulf.net".  (Flames >nil:)  Enjoy.
  47.